package cn.dliyy.base.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Length;

@Entity
@Table
public class CountryRegion implements Serializable {
  private static final long serialVersionUID = 6873279720351980329L;
  @Id
  @Length(max = 14)
  private String RegionCode;
  @Column
  @Length(max = 127)
  private String RegionName;

  public String getRegionCode() {
    return RegionCode;
  }

  public void setRegionCode(String regionCode) {
    RegionCode = regionCode;
  }

  public String getRegionName() {
    return RegionName;
  }

  public void setRegionName(String regionName) {
    RegionName = regionName;
  }

}
